package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;

/**
 * @ClassName SensitiveService
 * @Description TODO
 * @Author AWei
 * @DATE 2021/4/10 19:28
 * @Version 1.0
 */
public interface SensitiveService extends IService<AdSensitive> {
    ResponseResult querySensitiveByPageOrName(SensitiveDto dto);

    ResponseResult addSensitive(AdSensitive adSensitive);

    ResponseResult modifySensitive(AdSensitive adSensitive);

    ResponseResult deleteSensitive(Integer id);
}
